<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.d1, .d2, .d3 {
				width: 100px;
				height: 100px;

			}
			.d1 {
				/* flex-grow: 1;
				flex-shrink: 0; */
				background-color: red;
			}
			.d2 {
				left: 100px;
				background-color: green;

				/* flex-grow: 2; */
			}
			.d3 {
				background-color: blue;
				/* flex-grow: 3; */

			}
			.container {
				border: 1px solid black;
				margin-left: 100px;
				margin-top: 50px;
				width: 500px;
				height: 500px;
				display: flex;
				justify-content: space-around;
				flex-direction: column;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="d1">1</div>
			<div class="d2">2</div>
			<div class="d3">3</div>
		</div>
		<div class="container" style="width: 900px;">
			<div class="d1">1</div>
			<div class="d2">2</div>
			<div class="d3">3</div>
		</div>
		<div class="container" style="width: 200px;">
			<div class="d1">1</div>
			<div class="d2">2</div>
			<div class="d3">3</div>
		</div>
	</body>
</html>
